<script src="/kissy/build/seed-debug.js"></script>
<script src="/kissy/src/package.js"></script>
<script>
    KISSY.use('event/dom, event/gesture/shake', function (S, DomEvent, ShakeType) {
        DomEvent.on(window, ShakeType.SHAKE, function (e) {
            alert(JSON.stringify(e.accelerationIncludingGravity));
        });
    });
</script>